From 64f8b7c045dcf807f1d04f131cd9177fcea331c0 Mon Sep 17 00:00:00 2001 From: "djm@kirby.fc.hp.com" Date: Thu, 17 Nov 2005 10:32:22 -0600 Subject: [PATCH] Parse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson) --- xen/arch/ia64/xen/dom_fw.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xen/arch/ia64/xen/dom_fw.c b/xen/arch/ia64/xen/dom_fw.c index 83348a76a0..d02bd11d84 100644 --- a/xen/arch/ia64/xen/dom_fw.c +++ b/xen/arch/ia64/xen/dom_fw.c @@ -466,11 +466,8 @@ acpi_update_madt_checksum (unsigned long phys_addr, unsigned long size) /* base is physical address of acpi table */ void touch_acpi_table(void) { - u64 count = 0; - count = acpi_table_parse_madt(ACPI_MADT_LSAPIC, acpi_update_lsapic, NR_CPUS); - if ( count < 1) + if (acpi_table_parse_madt(ACPI_MADT_LSAPIC, acpi_update_lsapic, 0) < 0) printk("Error parsing MADT - no LAPIC entires\n"); - printk("Total %d lsapic entry\n", count); acpi_table_parse(ACPI_APIC, acpi_update_madt_checksum); return; -- 2.30.2